﻿<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta name="viewport" content="width=device-width" />
     <script type="text/javascript" language="javascript"  src="http://10.65.247.140/A4XapService/Scripts/Silverlight.js"></script>
    <script type="text/javascript" src="http://10.65.247.140/A4XapService/Scripts/jquery-1.4.1.min.js"></script>
    <script type="text/javascript" language="javascript"  src="http://10.65.247.140/A4XapService/Scripts/Splashsreen.js"></script>
    <!--<script type="text/javascript" language="javascript"  src="http://10.65.247.140/A4XapService/Scripts/A4.js"></script>-->
    <script src="js/WebSocketEx.js" type="text/javascript"></script>
   
    <script type="text/javascript" src="js/screen.js"></script>    
    <title>GIS地图</title>
    <script type="text/javascript">
         $(document).ready(function () {
             type = "wssCtName";
             $("#btnSend").click(function () {
                 sendMessage("COMMAND CommandName:GisLocation;Lon:116.3;Lat:39.9;ZoomLevel:3;ID:0"); //COMMAND 控制命令
             });
             connectSocketServer(); //连接服务器
         });
        
    </script>
</head>
<body>
   
    <div></div>
      <div id="silverlightControlHost" style="width:1366px;height:768px;">     
        <object id="sl4" data="data:application/x-silverlight-2," type="application/x-silverlight-2" width="100%" height="100%">
		  <param name="source" value="http://10.65.247.140/A4XapService/ClientBin/DOE.GIS.A11.xap"/>
		  <param name="onError" value="onSilverlightError" />
		  <param name="background" value="white" />
          <param name="splashscreensource" value="http://10.65.247.140/A4XapService/Scripts/Scene.xaml"/>
          <param name="OnSourceDownloadProgressChanged" value="onProgressChanged"/>
		  <param name="minRuntimeVersion" value="4.0.50826.0" />
		  <param name="EnableGPUAcceleration" value="true" />
          <param name="EnableFrameRateCounter" value="false" />
          <param name="enableCacheVisualization" value="false"/>
          <param name="autoUpgrade" value="true" />
          <param name="windowless" value="true" />
          <param name="enableHtmlAccess" value="true" />
          <param name="onLoad" value="pluginLoaded" />
          <param name="initparams" value="DefaultMapConfig=http://localhost:31958/A32.xml,IsDebug=true" />
		  <a href="http://go.microsoft.com/fwlink/?LinkID=149156&v=4.0.50826.0" style="text-decoration:none">
 			  <img src="http://go.microsoft.com/fwlink/?LinkId=161376" alt="获取 Microsoft Silverlight" style="border-style:none"/>
		  </a>
	    </object><iframe id="_sl_historyFrame" style="visibility:hidden;height:0px;width:0px;border:0px"></iframe></div>
</body>
</html>
